package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.ChatRole;

/**
 * gptRoleService接口
 * 
 * @author ruoyi
 * @date 2024-04-28
 */
public interface IChatRoleService 
{
    /**
     * 查询gptRole
     * 
     * @param id gptRole主键
     * @return gptRole
     */
    public ChatRole selectChatRoleById(Long id);

    /**
     * 查询gptRole列表
     * 
     * @param chatRole gptRole
     * @return gptRole集合
     */
    public List<ChatRole> selectChatRoleList(ChatRole chatRole);

    /**
     * 新增gptRole
     * 
     * @param chatRole gptRole
     * @return 结果
     */
    public int insertChatRole(ChatRole chatRole);

    /**
     * 修改gptRole
     * 
     * @param chatRole gptRole
     * @return 结果
     */
    public int updateChatRole(ChatRole chatRole);

    /**
     * 批量删除gptRole
     * 
     * @param ids 需要删除的gptRole主键集合
     * @return 结果
     */
    public int deleteChatRoleByIds(Long[] ids);

    /**
     * 删除gptRole信息
     * 
     * @param id gptRole主键
     * @return 结果
     */
    public int deleteChatRoleById(Long id);
}
